package com.paw.ruoyi.admin.common.constant;

import cn.hutool.core.lang.Assert;

/**
 * @author Rubble
 * @date 2021/8/27
 **/
public class RedisPrefixKeyConstant {

  public static final String PRE_TOKEN = "token:";




  public static String getKey(String prefix,String key){
    Assert.notNull(prefix);
    Assert.notNull(key);
    return prefix+key;
  }

}
